package com.ateam.util;
/** 
* @author WuYuan
* 
*/
public class SplitFactory {
	public static int[] getIntarray(String str){
		String strarray[]=str.split(",");
		int[] intarray = new int[strarray.length];
		System.out.println("getIntarray中切割string的数组长度是"+strarray.length);
		for(int i=0;i<=strarray.length-1;i++){
			intarray[i]=Integer.parseInt(strarray[i]);
		}
		return intarray;
	}
}
